﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace OrderGenerator
{
    public partial class frmOG : Form
    {
        public frmOG()
        {
            InitializeComponent();
        }

        private void frmOG_Load(object sender, EventArgs e)
        {
           
        }

        public void ServiceDropDown_SelectedIndexChanged(object sender, EventArgs e)
        {

            // string ServiceDropDown;
            //if (ServiceDropDown.) = "MSI"
            //    Service = "MSI";
        }

        private void txtCurrentPriceChanged(object sender, EventArgs e)
        {
            
        }

       
        private void txtBidOffer_TextChanged(object sender, EventArgs e)
        {
            decimal BidOffer = Convert.ToDecimal(txtBidOffer.Text);
        }

        private void txtQuantity_TextChanged(object sender, EventArgs e)
        {
            int quantity = (int)Convert.ToDecimal(txtQuantity.Text);

        }

        private void txtTotal_TextChanged(object sender, EventArgs e)
        {
            decimal total = Convert.ToDecimal(txtTotal.Text);
        }

        private void btnSubmit_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        
        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btnBuy_Click(object sender, EventArgs e)
        {
            // bool buyOrSell = true;
        }
    }
}
